package com.sevenluo.netty.learn.client.codec;

import io.netty.handler.codec.LengthFieldBasedFrameDecoder;

/**
 * @author: 程序员七哥
 * @date: 2022-01-26
 * @description: 将收到的数据帧处理半包、粘包问题，得到一个 ByteBuf
 */
public class OrderFrameDecoder extends LengthFieldBasedFrameDecoder {

    public OrderFrameDecoder() {
        super(Integer.MAX_VALUE,0,2,0,2);
    }
}
